package com.validator.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "config")
public class ConfigProperties {
    private String bgDirPath = "/root/html/images"; // default value
    private String fileServerPath = "/root/file-server"; // default value
    private String serverIp = "http://170.106.14.137:81/";

    public String getBgDirPath() {
        return bgDirPath;
    }

    public void setBgDirPath(String bgDirPath) {
        this.bgDirPath = bgDirPath;
    }

    public String getFileServerPath() {
        return fileServerPath;
    }

    public void setFileServerPath(String fileServerPath) {
        this.fileServerPath = fileServerPath;
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }
}
